package quartz;

import influx.DataInsertInflux;
import org.quartz.Job;
import org.quartz.JobExecutionContext;

/**
 * @author Administrator
 */
public class CollectMetricQuartz implements Job {

	@Override
	public void execute(JobExecutionContext context) {

		DataInsertInflux dataInsertInflux = new DataInsertInflux();
		try {
			dataInsertInflux.insertInflux();
		} catch (Exception e) {
			e.printStackTrace();
		}


	}

}
